package com.radon.service;

import com.alibaba.fastjson.JSONObject;
import com.rabbitmq.client.Channel;
import org.springframework.messaging.handler.annotation.Headers;
import org.springframework.messaging.handler.annotation.Payload;

import java.util.List;
import java.util.Map;

public interface RabbitMQService {
    void direct(@Payload JSONObject jsonObject, Channel channel, @Headers Map<String, Object> heads)throws Exception;
}
